//
//  CommentListViewModel.h
//  CommentPage
//
//  Created by 欧杨 on 2020/11/29.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface CommentListViewModel : NSObject

@property(strong, nonatomic) NSString *contentID;       //内容的id           json:"ID"
@property(strong, nonatomic) NSString *userID;          //内容的作者的id      json:"OwnID"
@property(strong, nonatomic) NSMutableArray *comments;
@property(strong, nonatomic) NSMutableArray *likedList;

- (instancetype)initWithContentID:(NSString *)contentID andUserID:(NSString *)userID;
- (void)getComments;
- (void)addNewComment:(NSString *)content;
- (void)getLikeListWithComments;

@end

NS_ASSUME_NONNULL_END
